import axios from '@/utils/request';

export function getSchoolSpecialtyList(params) {
    return axios.post({
        url: '/school-specialty/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSchoolSpecialtyListAll(params) {
    return axios.post({
        url: '/school-specialty/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSchoolSpecialtyLoadListAll(params) {
    return axios.post({
        url: '/school-specialty/loadListAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSchoolSpecialty(params) {
    return axios.post({
        url: '/school-specialty/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSchoolSpecialty(params) {
    return axios.post({
        url: '/school-specialty/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSchoolSpecialty(params) {
    return axios.post({
        url: '/school-specialty/load',
        data: params
    }).then((res) => {
        return res
    })
}

